package com.ruoyi.cngj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目案例对象 cngj_project
 * 
 * @author yuexl
 * @date 2024-06-27
 */
public class CngjProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目案例 id */
    private String id;

    /** 案例图片 */
    @Excel(name = "案例图片")
    private String projectImg;

    /** 案例名称 */
    @Excel(name = "案例名称")
    private String projectName;

    /** 投运时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投运时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date projectTime;

    /** 实施容量 */
    @Excel(name = "实施容量")
    private String projectCapacity;

    /** 案例标题 */
    @Excel(name = "案例标题")
    private String projectTitle;

    /** 排序 数字自增 倒叙 */
    @Excel(name = "排序 数字自增 倒叙")
    private Integer projectSort;

    /** 状态 1启用 0禁用 */
    @Excel(name = "状态 1启用 0禁用")
    private String projectState;

    private String projectImgPhone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectImg(String projectImg) 
    {
        this.projectImg = projectImg;
    }

    public String getProjectImg() 
    {
        return projectImg;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectTime(Date projectTime) 
    {
        this.projectTime = projectTime;
    }

    public Date getProjectTime() 
    {
        return projectTime;
    }
    public void setProjectCapacity(String projectCapacity) 
    {
        this.projectCapacity = projectCapacity;
    }

    public String getProjectCapacity() 
    {
        return projectCapacity;
    }
    public void setProjectTitle(String projectTitle) 
    {
        this.projectTitle = projectTitle;
    }

    public String getProjectTitle() 
    {
        return projectTitle;
    }
    public void setProjectSort(Integer projectSort) 
    {
        this.projectSort = projectSort;
    }

    public Integer getProjectSort() 
    {
        return projectSort;
    }
    public void setProjectState(String projectState) 
    {
        this.projectState = projectState;
    }

    public String getProjectState() 
    {
        return projectState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("projectImg", getProjectImg())
            .append("projectName", getProjectName())
            .append("projectTime", getProjectTime())
            .append("projectCapacity", getProjectCapacity())
            .append("projectTitle", getProjectTitle())
            .append("projectSort", getProjectSort())
            .append("projectState", getProjectState())
            .toString();
    }

    public String getProjectImgPhone() {
        return projectImgPhone;
    }

    public void setProjectImgPhone(String projectImgPhone) {
        this.projectImgPhone = projectImgPhone;
    }
}
